# -*- coding: utf-8 -*-

from vtEngine import MainEngine

class auto_main_engine(MainEngine):
	def initGateway(self):
		'''初始化各种接口'''
		super(auto_main_engine, self).initGateway()
		
		try:
			from business_top.auto_gateway import auto_gateway
			self.addGateway(auto_gateway, 'auto_ctp')
			self.gatewayDict['auto_ctp'].setQryEnabled(True)
		except Exception, e:
			print e
		pass
	pass